<div class="form-group">
    <label for="tag" class="col-md-3 control-label">产品名称</label>
    <div class="col-md-5">
        <input type="text" class="form-control" name="name" id="tag" value="{{ $data['name'] }}" autofocus>
    </div>
</div>

<div class="form-group">
    <label for="tag" class="col-md-3 control-label">类型1</label>
    <div class="col-md-5">
        <label class="control-label"><input type="radio" name="type1" value="0" {{  $data['type1']==0 ? 'checked' :'' }}>非新手类</label>
        {{--<label class="control-label"><input type="radio" name="type1" value="1" {{  $data['type1']==1 ? 'checked' :'' }}>新手类</label>--}}
    </div>
</div>


<div class="form-group">
    <label for="tag" class="col-md-3 control-label">类型2</label>
    <div class="col-md-5">
        {{--<label class="control-label"><input type="radio" name="type2" value="0" {{  $data['type2']==0 ? 'checked' :'' }} >内容类</label>--}}
        <label class="control-label"><input type="radio" name="type2" value="1" {{  $data['type2']==1 ? 'checked' :'' }} class="type2_pic" checked>图片类</label>
    </div>
</div>

<div class="form-group">
    <label for="tag" class="col-md-3 control-label">数量</label>
    <div class="col-md-5">
        <input type="text" class="form-control" name="count" id="tag" value="{{ $data['count'] }}" autofocus>
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">价格(元)</label>
    <div class="col-md-5">
        <input type="text" class="form-control" name="price" id="tag" value="{{ $data['price'] }}" autofocus>
    </div>
</div>


<input type="hidden" name="content" value="">

{{--<div class="type2_img" style="display: {{ $data['type2']==1 ? 'block' :'none' }}">--}}
<div class="type2_img" style="display:block }}">
    <div class="form-group">
        <label for="tag" class="col-md-3 control-label">内容</label>
        <div class="col-md-5">
            <input class="file-loading"  id="input-24" type="file" name="course_imgs" multiple accept="image/*" data-min-file-count="1">
            <input type="hidden" name="img" value="{{ $data['img'] }}">
        </div>
    </div>
</div>

